import {Dimensions, StatusBar,Platform} from 'react-native';
import ExtraDimensions from 'react-native-extra-dimensions-android';

export const ScreenWidth = Dimensions.get('screen').width;
export const ScreenHeight = Dimensions.get('screen').height;
export const StatusBarHeight = StatusBar.currentHeight;
export  const usableScreenHeight  = Platform.OS === 'ios' ? 0 :  ExtraDimensions.get('SOFT_MENU_BAR_HEIGHT');

export const videos = [
  {
    id: 1,
    url: 'https://video.pearvideo.com/mp4/third/20201113/cont-1706821-15126082-111655-hd.mp4',
    isColletion: false,
  },
  {
    id: 2,
    url: 'https://video.pearvideo.com/mp4/third/20201114/cont-1707004-15488237-105621-hd.mp4',
    isColletion: true,
  },
  {
    id: 3,
    url: 'https://video.pearvideo.com/mp4/third/20201117/cont-1707360-15126082-105138-hd.mp4',
    isColletion: false,
  },
];



export const  StatusBarStyleByRouteName:Record<string,string> = {
  'HomeScreen':'dark-content',
  'PlayLeftScreen':'light-content',
  'HistoryScreen':'dark-content',
  'MakeMoneyScreen':'light-content',
  'MyScreen':'light-content',
  'Login':'dark-content',
  'Withdrawal':'dark-content',
  'WithdrawalHistory':'light-content',
  'BindAliPayScreen':'dark-content',
  'CustomerServiceScreen':'light-content',
  'Setting':'dark-content',
  'EpisodeScreen':'dark-content',
};
